package com.hongye.manager.service.impl;

import com.hongye.common.entity.CityEntity;
import com.hongye.manager.mapper.CityMapper;
import com.hongye.manager.service.CityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CityServiceImpl implements CityService {

    @Autowired
    private CityMapper cityMapper;


    @Override
    public List<CityEntity> list() {

        List<CityEntity> entityList = cityMapper.selectList();

        return entityList;
    }
}
